home *** CD-ROM | disk | FTP | other *** search
/ An Invitation to the Roland World of Music / Roland - An Invitation To The Roland World Of Music.bin / vb / vb30 / disk1 / find1.fr_ / find1.bin
Text File  |  1993-04-27  |  3KB  |  119 lines

  1. VERSION 2.00
  2. Begin Form frmFind 
  3.    Caption         =   "Find"
  4.    ClientHeight    =   1395
  5.    ClientLeft      =   2655
  6.    ClientTop       =   3585
  7.    ClientWidth     =   4950
  8.    Height          =   1800
  9.    Left            =   2595
  10.    LinkTopic       =   "Form2"
  11.    ScaleHeight     =   1395
  12.    ScaleWidth      =   4950
  13.    Top             =   3240
  14.    Width           =   5070
  15.    Begin Frame Frame1 
  16.       Caption         =   "Direction"
  17.       Height          =   612
  18.       Left            =   1560
  19.       TabIndex        =   3
  20.       Top             =   720
  21.       Width           =   2052
  22.       Begin OptionButton optDirection 
  23.          Caption         =   "&Down"
  24.          Height          =   252
  25.          Index           =   1
  26.          Left            =   960
  27.          TabIndex        =   5
  28.          Top             =   240
  29.          Value           =   -1  'True
  30.          Width           =   852
  31.       End
  32.       Begin OptionButton optDirection 
  33.          Caption         =   "&Up"
  34.          Height          =   252
  35.          Index           =   0
  36.          Left            =   240
  37.          TabIndex        =   4
  38.          Top             =   240
  39.          Width           =   612
  40.       End
  41.    End
  42.    Begin CheckBox chkCase 
  43.       Caption         =   "Match &Case"
  44.       Height          =   495
  45.       Left            =   120
  46.       TabIndex        =   2
  47.       Top             =   720
  48.       Width           =   1335
  49.    End
  50.    Begin TextBox Text1 
  51.       Height          =   375
  52.       Left            =   1200
  53.       TabIndex        =   1
  54.       Top             =   240
  55.       Width           =   2415
  56.    End
  57.    Begin CommandButton cmdcancel 
  58.       Cancel          =   -1  'True
  59.       Caption         =   "Cancel"
  60.       Height          =   372
  61.       Left            =   3720
  62.       TabIndex        =   7
  63.       Top             =   600
  64.       Width           =   1092
  65.    End
  66.    Begin CommandButton cmdFind 
  67.       Caption         =   "&Find"
  68.       Default         =   -1  'True
  69.       Height          =   372
  70.       Left            =   3720
  71.       TabIndex        =   6
  72.       Top             =   120
  73.       Width           =   1092
  74.    End
  75.    Begin Label Label1 
  76.       Caption         =   "Fi&nd What:"
  77.       Height          =   255
  78.       Left            =   120
  79.       TabIndex        =   0
  80.       Top             =   240
  81.       Width           =   975
  82.    End
  83. End
  84.  
  85. Sub chkCase_Click ()
  86.     gFindCase = chkCase.Value
  87. End Sub
  88.  
  89. Sub cmdcancel_Click ()
  90.     gFindString = Text1.Text
  91.     gFindCase = chkCase.Value
  92.     Unload frmFind
  93. End Sub
  94.  
  95. Sub cmdFind_Click ()
  96.     gFindString = Text1.Text
  97.     FindIt
  98. End Sub
  99.  
  100. Sub Form_Load ()
  101.     cmdFind.Enabled = False
  102.     gFindDirection = 1
  103. End Sub
  104.  
  105. Sub optDirection_Click (index As Integer)
  106.     gFindDirection = index
  107. End Sub
  108.  
  109. Sub Text1_Change ()
  110.     FirstTime = True
  111.  
  112.     If Text1.Text = "" Then
  113.         cmdFind.Enabled = False
  114.     Else
  115.         cmdFind.Enabled = True
  116.     End If
  117. End Sub
  118.  
  119.